<template>
  <div>
    <button v-on:click="btn">点击按钮</button>
    <!-- <button @click="btn">点击</button> -->
  </div>
</template>

<script>
export default {
  methods: {
    btn(e) {
      console.log(e)
      console.log('点击了button')
    },
  },
}
</script>

<style></style>
